import mitt from 'mitt'
import { App } from 'vue'

function setupEmitter(app: App) {
    const emitter = mitt()
    app.provide('emitter', emitter)
}

export { setupEmitter }
